<!---list start--->
<#assign url="/a/${article.intervalType}/[[pageIndex]]">
<@articleList pageIndex="#{article.pageIndex}" pageSize="#{article.pageSize}" interval="#{article.interval}" contentType="#{article.contentType}">
    <#if articles??>
        <#if articles.code==1>
            <#list articles.rows as r>
            <div class="block" id="article_block_${r.id}">
                <div class="detail"><a href="/article/${r.id}" target="_blank">${r.title}</a></div>
                <div class="author"><img src="/resources/Uploads/Avatar/s_avatar.gif" alt="匿名"/><a
                        href="javascript:void(0);">匿名</a></div>
                <div class="content" title="${(r.time*1000)?number?number_to_datetime?string("yyyy-MM-dd HH:mm:ss")}">
                ${r.content}
                </div>
                <#if r.pic_url??>
                    <div class="thumb"><img src="${r.pic_url}" alt="我看了一眼"
                                            width="${r.pic_width}px" height="${r.pic_height}px"/></div>
                </#if>
                <div class="tags"><span class="bti"></span><a href="/tag/${r.tag}"
                                                              target="_blank">${r.tag}</a>&nbsp;
                </div>
                <div id="qiushi_counts_${r.id}" class="bar">
                    <ul>
                        <li id="vote-up-${r.id}" class="up"><a href="javascript:qiushi_vote(${r.id},1)" id="up-${r.id}"
                                                               title="${r.upper}个顶">${r.upper}</a></li>
                        <li id="vote-dn-${r.id}" class="down"><a href="javascript:qiushi_vote(${r.id},-1)"
                                                                 id="dn-${r.id}"
                                                                 title="-${r.below}个拍">-${r.below}</a></li>
                        <li class="comment"><a href="http://jianxiao.wang/article/${r.id}#comments_${r.id}"
                                               articleid="${r.id}" id="comments-${r.id}" class="comment"
                                               title="${r.reply}条评论">${r.reply}</a>
                        </li>
                        <li class="share"><a href="javascript:;" title="分享">分享</a></li>
                    </ul>
                    <div class="sharebox">
                        <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare"
                             data="'pic':'${r.pic_url}','url':'http://jianxiao.wang/article/${r.id}','text':'转自@见笑网：${r.content}'}">
                            <a class="bds_renren" title="分享到人人网" href="#">人人网</a><a class="bds_qzone" title="分享到QQ空间"
                                                                                    href="#">QQ空间</a><a
                                class="bds_tsina" title="分享到新浪微博" href="#">新浪微博</a><a class="bds_tqq" title="分享到腾讯微博"
                                                                                      href="#">腾讯微博</a>

                            <div class="arrow"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="shadow"></div>
            </#list>
        </#if>
    </#if>
<!--page start-->
    <#assign totalRecord=articles.total>
    <#assign pageIndex=article.pageIndex>
    <#assign pageSize=article.pageSize>
    <#include "pager.ftl">
<!--page end-->
</@articleList>
<!---list end--->
<!-- Baidu Button BEGIN -->
<script type="text/javascript" id="bdshare_js" data="type=tools&uid=681076" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000);</script>
<!-- Baidu Button END -->

